﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using KelonProud.TableManagement.Domain;

namespace KelonProud.TableManagement.Dtos.Table
{
    [AutoMap(typeof(TableCategory))]
    public class TableCategoryInput:EntityDto
    {
        public virtual string Name { get; set; }

        public virtual string Code { get; set; }

        public virtual int? ParentId { get; set; }

        public virtual string Remark { get; set; }
    }

    public class TableCategoryOutput : TableCategoryInput
    {
        public virtual string ParentName { get; set; }
        public virtual string IdPath { get; set; }
        public virtual string NamePath { get; set; }
        public virtual int Level { get; set; }
        public virtual int Order { get; set; }
    }
}
